package com.will.config;

import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.server.spring.scope.RequestContextFilter;

/**
 * @author 杨明智
 * @version:1.0
 * @create 2019年01月07日 11:32 AM
 * @description
 **/
public class JerseyConfig extends ResourceConfig {

    public JerseyConfig() {

        register(RequestContextFilter.class);

        //配置restful package.

        packages("com.will.iboxclient.service");

    }

}
